using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace com.dtn.deals
{
	public interface Itbl_ConponManager
	{
		int Inserttbl_Conpon(tbl_Conpon _tbl_Conpon);
        //int Inserttbl_Tframe(tbl_Conpon _tbl_Conpon);
        //bool Updatetbl_Tframe(tbl_Conpon _tbl_Conpon);
        //bool Deletetbl_Tframe(int pid);
		bool Updatetbl_Conpon(tbl_Conpon _tbl_Conpon);
        DataTable Selecttbl_ConponTopDeal(int iSoluong, string where, int iCateID);
		bool Deletetbl_Conpon(int id);
		tbl_Conpon Selecttbl_ConponByID(int ID);
		DataTable Selecttbl_ConponsDynamic(string Where, string Order);
        DataTable Selecttbl_ConponsWithPageDynamic(int StartIndex,int MaxRecords, string Where);
        DataTable Statistic_SelectAllDealAndPaging(int StartIndex, int MaxRecords, string Where, string WhereOrder);
	}
}
